Mastering CSS3 by Smashing Magazine

Mastering CSS3 by Smashing Magazine

Author:Smashing Magazine
Language: deu
Format: epub
Tags: Smashing eBooks
Published: 2012-06-18T16:00:00+00:00


fieldset input:last-of-type:not([type=radio]) {

border-bottom-left-radius: 10px;

border-bottom-right-radius: 10px; }

The first line of CSS adds a top rounded border to all :first-of-type inputs in a fieldset that aren’t radio buttons. The second line adds the bottom rounded border to the last input element in a fieldset.

:ONLY-OF-TYPE

There’s one more type selector to look at: :only-of-type(). This is useful for selecting elements that are the only one of their kind in their parent element.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.